﻿using System.ComponentModel.DataAnnotations;

namespace RemoteSensingImageDirectServer.Models.Map.Cache
{
    public class GroupImageWarpCache
    {
        /// <summary>
        /// 文件的唯一标识符
        /// </summary>
        [Key]
        public string Key { get; set; }

        /// <summary>
        /// 缓存联合图层的key，非主键，非唯一
        /// </summary>
        public string GroupKey { get; set; }

        /// <summary>
        /// Warp投影变换后的数据(此数据在多线程模式下数据不安全，容易丢内存)
        /// </summary>
        public byte[] WarpData { get; set; }

        /// <summary>
        /// 外键关键表(外键表)
        /// </summary>
        public GroupImageCache Parent { get; set; }
    }
}
